package br.gov.capgov.treinamento.web.batch;

import javax.servlet.ServletContextEvent;
import javax.servlet.ServletContextListener;

public class MonitorListener implements ServletContextListener
{
	@Override
	public void contextInitialized(ServletContextEvent arg0)
	{
//		System.out.println("INICIO");
//		
//		Thread thread = new Thread(new MonitorThread());
//		thread.start();
//		System.out.println("TO INDO!!!");
	} 
	
	@Override
	public void contextDestroyed(ServletContextEvent arg0)
	{	
		System.out.println("FIM");	
	}	
}